home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ppppoooossssttttlllliiiinnnnkkkk((((1111)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((JJJJuuuullll 11118888,,,, 1111999999997777)))) ppppoooossssttttlllliiiinnnnkkkk((((1111))))
-
-
-
- NNNNAAAAMMMMEEEE
- postlink - Portable Object Compiler Postlink Tool
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ppppoooossssttttlllliiiinnnnkkkk [ options ] [ - ] [ linkmap [ outfile ] ]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- ppppoooossssttttlllliiiinnnnkkkk is a tool that takes a link map as input and that
- writes a C program to the ssssttttddddoooouuuutttt or to oooouuuuttttffffiiiilllleeee.... The program
- essentially consists of a table of all Objective-C classes
- that are linked into the program (as indicated by the link
- map). The name stems from the fact that the C program is
- then compiled by the oooobbbbjjjjcccc driver and linked into the program
- after a first link. The oooobbbbjjjjccccrrrrtttt runtime can use this table
- for initializing all classes.
-
-
- AAAAUUUUTTTTOOOOMMMMAAAATTTTIIIICCCC IIIINNNNIIIITTTTIIIIAAAALLLLIIIIZZZZAAAATTTTIIIIOOOONNNN
- Most UNIX oooobbbbjjjjcccc drivers are by default configured for
- automatic initialization, and do NOT use this tool.
- Automatic initialization determines at run-time what classes
- are linked into the program, and does not need a compile-
- time generated table of classes or a double link. It is
- still possible to suppress automatic initialization by using
- the ----ppppoooossssttttlllliiiinnnnkkkk option. Conversely, some non-UNIX drivers
- that are configured with postlink by default, can be used
- with the ----nnnnooooPPPPoooossssttttlllliiiinnnnkkkk flag, but beware that, in general, the
- reason to configure a driver with postlink is that the
- automatic initialization code doesn't work for the
- particular platform.
-
-
- EEEEXXXXAAAAMMMMPPPPLLLLEEEE
- The command:
-
- nm a.out | postlink > file.c
-
- writes a C file to file.c that can be used by the oooobbbbjjjjccccrrrrtttt
- runtime for initialization. The table consists of BIND
- functions that need to be called for all modules that were
- compiled with the oooobbbbjjjjcccc compiler. Note that this includes
- all modules that need to be initialized, whether they define
- a class, or just send an Objective-C message.
-
-
- OOOOPPPPTTTTIIIIOOOONNNNSSSS
- ----aaaa ffffiiiilllleeee
- Append file to the postlink output. This can be used
- to prepare Objective-C packages that, when loaded with
- dlopen(), automatically initialize themselves. Classes
- defined in the package will automatically register
- themselves to the runtime. The file that is appended
-
-
-
- Page 1 (printed 6/28/99)
-
-
-
-
-
-
- ppppoooossssttttlllliiiinnnnkkkk((((1111)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((JJJJuuuullll 11118888,,,, 1111999999997777)))) ppppoooossssttttlllliiiinnnnkkkk((((1111))))
-
-
-
- to the postlink output, typically contains some C code
- to process the postlink output (initializers,
- finalizers).
-
-
- ----oooo ffffiiiilllleeee
- Place output in file
-
-
- ----pppp ssssyyyymmmmbbbboooollll
- Prepend symbol to the name _objcModules. This option
- can be used when building tables of BIND functions for
- shared objects that are going to be dynamically loaded
- by a program (e.g. with dlopen()); in this case the
- program needs more than just one _objcModules table.
-
-
- ----ffff ffffoooorrrrmmmmaaaatttt
- Currently ffffoooorrrrmmmmaaaatttt can be one of uuuunnnniiiixxxx,,,, wwwwaaaattttccccoooommmm mmmmssssvvvvcccc iiiibbbbmmmmvvvvaaaacccc
- or mmmmeeeettttrrrroooowwwweeeerrrrkkkkssss.... The default format is unix. If the
- format is uuuunnnniiiixxxx,,,, then the input is assumed to be the
- output of the nnnnmmmm command (preferably the BSD nm
- format). If the format is wwwwaaaattttccccoooommmm,,,, then the input is
- assumed to be a WATCOM wwwwlllliiiinnnnkkkk link map, as generated
- with ooooppppttttiiiioooonnnn mmmmaaaapppp====....
-
-
- FFFFIIIILLLLEEEESSSS
- $OBJCDIR/lib/_prelink.o prelink stub file
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- objc(1), nm(1)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 2 (printed 6/28/99)
-
-
-
-